<?php if ($auth_user->hasAttribute('photo')): ?>
    <?php slot('photo') ?>
    <img src="<?php echo $auth_user->getAttribute('photo'); ?>" width="105px"/>
    <?php end_slot(); ?>
<?php endif; ?>

<?php slot('user_name') ?>
<div id="layout_user_name">
    <?php echo $full_name; ?>
</div>
<?php end_slot(); ?>


<?php
if ($error_not_found)
    echo $error_not_found;
else {
?>
    <div id="current_provider_info">
        <table>
            <?php if ($auth_user->hasAttribute('first_name')): ?>
                <tr>
                    <td><b>First Name</b></td>
                    <td><?php echo $auth_user->getAttribute('first_name'); ?></td>
                </tr>
            <?php endif; ?>
            
            <?php if ($auth_user->hasAttribute('last_name')): ?>
                <tr>
                    <td><b>Last Name</b></td>
                    <td><?php echo $auth_user->getAttribute('last_name'); ?></td>
                </tr>
            <?php endif; ?>

            <tr>
                <td><b>Provider</b></td>
                <td><?php echo $auth_user->getAttribute('provider'); ?></td>
            </tr>

            <?php if ($auth_user->hasAttribute('uid')): ?>
                <tr>
                    <td><b>Uid</b></td>
                    <td><?php echo $auth_user->getAttribute('uid'); ?></td>
                </tr>
            <?php endif; ?>

            <tr>
                <td><b>Identity</b></td>
                <td><?php echo $auth_user->getAttribute('identity'); ?></td>
            </tr>

            <?php if ($auth_user->hasAttribute('nickname')): ?>
                <tr>
                    <td><b>Nick</b></td>
                    <td><?php echo $auth_user->getAttribute('nickname'); ?></td>
                </tr>
            <?php endif; ?>

            <?php if ($auth_user->hasAttribute('email')): ?>
                <tr>
                    <td><b>E-mail</b></td>
                    <td><?php echo $auth_user->getAttribute('email'); ?></td>
                </tr>
            <?php endif; ?>

            <?php if ($auth_user->hasAttribute('gender')): ?>
                <tr>
                    <td><b>Gender</b></td>
                    <td><?php echo $auth_user->getAttribute('gender'); ?></td>
                </tr>
            <?php endif; ?>

            <?php if ($auth_user->hasAttribute('dob')): ?>
                <tr>
                    <td><b>Birthday</b></td>
                    <td><?php echo $auth_user->getAttribute('dob'); ?></td>
                </tr>
            <?php endif; ?>

            <?php if ($auth_user->hasAttribute('icq')): ?>
                <tr>
                    <td><b>ICQ</b></td>
                    <td><?php echo $auth_user->getAttribute('icq'); ?></td>
                </tr>
            <?php endif; ?>

            <?php if ($auth_user->hasAttribute('jabber')): ?>
                <tr>
                    <td><b>Jabber</b></td>
                    <td><?php echo $auth_user->getAttribute('jabber'); ?></td>
                </tr>
            <?php endif; ?>

            <?php if ($auth_user->hasAttribute('skype')): ?>
                <tr>
                    <td><b>Skype</b></td>
                    <td><?php echo $auth_user->getAttribute('skype'); ?></td>
                </tr>
            <?php endif; ?>

            <?php if ($auth_user->hasAttribute('biography')): ?>
                <tr>
                    <td><b>Biography</b></td>
                    <td><?php echo $auth_user->getAttribute('biography'); ?></td>
                </tr>
            <?php endif; ?>

            <?php if ($auth_user->hasAttribute('company')): ?>
                <tr>
                    <td><b>Company</b></td>
                    <td><?php echo $auth_user->getAttribute('company'); ?></td>
                </tr>
            <?php endif; ?>

            <?php if ($auth_user->hasAttribute('job')): ?>
                <tr>
                    <td><b>Job</b></td>
                    <td><?php echo $auth_user->getAttribute('job'); ?></td>
                </tr>
            <?php endif; ?>

            <?php if ($auth_user->hasAttribute('home-adress')): ?>
                <tr>
                    <td><b>Home Adress</b></td>
                    <td><?php echo $auth_user->getAttribute('home-adress'); ?></td>
                </tr>
            <?php endif; ?>
            
            <?php if ($auth_user->hasAttribute('business-adress')): ?>
                <tr>
                    <td><b>Business Adress</b></td>
                    <td><?php echo $auth_user->getAttribute('business-adress'); ?></td>
                </tr>
            <?php endif; ?>
            
            <?php if ($auth_user->hasAttribute('preferred-phone')): ?>
                <tr>
                    <td><b>Preferred Phone</b></td>
                    <td><?php echo $auth_user->getAttribute('preferred-phone'); ?></td>
                </tr>
            <?php endif; ?>
            
            <?php if ($auth_user->hasAttribute('home-phone')): ?>
                <tr>
                    <td><b>Home Phone</b></td>
                    <td><?php echo $auth_user->getAttribute('home-phone'); ?></td>
                </tr>
            <?php endif; ?>
            
            <?php if ($auth_user->hasAttribute('work-phone')): ?>
                <tr>
                    <td><b>Work Phone</b></td>
                    <td><?php echo $auth_user->getAttribute('work-phone'); ?></td>
                </tr>
            <?php endif; ?>
            
            <?php if ($auth_user->hasAttribute('mobile-phone')): ?>
                <tr>
                    <td><b>Mobile Phone</b></td>
                    <td><?php echo $auth_user->getAttribute('mobile-phone'); ?></td>
                </tr>
            <?php endif; ?>
            
            <?php if ($auth_user->hasAttribute('fax')): ?>
                <tr>
                    <td><b>Fax</b></td>
                    <td><?php echo $auth_user->getAttribute('fax'); ?></td>
                </tr>
            <?php endif; ?>
            
            <?php if ($auth_user->hasAttribute('default-web')): ?>
                <tr>
                    <td><b>Web Site</b></td>
                    <td><?php echo $auth_user->getAttribute('default-web'); ?></td>
                </tr>
            <?php endif; ?>
            
            <?php if ($auth_user->hasAttribute('blog-web')): ?>
                <tr>
                    <td><b>Blog</b></td>
                    <td><?php echo $auth_user->getAttribute('blog-web'); ?></td>
                </tr>
            <?php endif; ?>
        </table>
    </div>

    <?php
}
?>